home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
comms
/
other
/
yamchecknew
/
yamchecknew.rexx
next >
Wrap
OS/2 REXX Batch file
|
1999-05-25
|
486b
|
36 lines
/*$VER: YamCheckNew.rexx V1.2 Roger Bennett (18-5-99) bennett@net.ntl.com
Checks and reports Amount of New Mail in Incoming Folder
*/
/*Variables to be changed */
SayCommand="C:Say" /* Path to Say */
options results
address 'YAM'
MAILINFO Stem fi.
M=fi.index
FOLDERINFO Stem fi.
F=fi.number
SETFOLDER 0
FOLDERINFO Stem fi.
N=fi.new
USERINFO STEM fi.
U=fi.username
If N>=1 then ADDRESS COMMAND SayCommand' "You have Personal E Mail 'U'!"'
SETFOLDER F
SETMAIL M
EXIT